package com.slz3.business.module.configManagement.conFeedback.service;

import com.slz3.business.module.configManagement.conFeedback.domain.ConFeedback;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface ConFeedbackService {

    ConFeedback save(ConFeedback conFeedback);

    Page<ConFeedback> page(MultiValueMap<String,String> queryParams);

    ConFeedback modify(ConFeedback conFeedback);

    Optional<ConFeedback> single(UUID uuid);

    List<ConFeedback> findAllByUuids(Iterable<UUID> uuids);

    List<ConFeedback> delete(List<ConFeedback> conFeedbackList);

}
